package io.finer.erp.jeecg.stock.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import io.finer.erp.jeecg.stock.dto.StkProcessingRecordDTO;
import io.finer.erp.jeecg.stock.entity.StkProcessingRecord;

/**
 * @Description: 代加工详细记录
 * @Author: jeecg-boot
 * @Date:   2021-04-17
 * @Version: V1.0
 */
public interface StkProcessingRecordMapper extends BaseMapper<StkProcessingRecord> {

	public boolean deleteByMainId(@Param("mainId") String mainId);
    
	public List<StkProcessingRecord> selectByMainId(@Param("mainId")String mainId);
	
	public List<StkProcessingRecordDTO> selectDTOByMainId(@Param("mainId")String mainId);
}
